<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>Selezione città di partenza</title>
	<link rel="stylesheet" type="text/css" href="../styles/style.css" />
</h:head>
<h:body>
<div id="container">
<div id="box">
<header class="banner">
<span id="titoloPagina"> Scegli la città di partenza </span>
</header>
<div id="externalborderChoose">
<p:spacer height="80px" />

	<h:form id="extc">
			
		<div id="ricercaSogno">
			
			<h:panelGrid columns="3" id="voloGrid">
						
				<p:outputLabel value="Città di partenza: " />  
		        <p:selectOneMenu value="#{creaViaggio.cittaPartenza}" >  
		        	 <f:selectItems value="#{creaViaggio.listaCittaVolo}" />  
		        </p:selectOneMenu>
				
			</h:panelGrid>
		
		</div>
		    <p:spacer height="80px"/>
<div id="retroBox">
	<div id="columnBox" style="margin:0px auto; width:70%">
	
	<div id="column1" style="float:left; margin:0; width:33%;">
<a id="loginlink" href="selezioneEscursioni.xhtml">
					<div class = "button" id = "indietro">
						Indietro
					</div>
				</a>
</div>

<div id="column2" style="float:left; margin:0;width:33%;">
<div class="padder" id="padder">
</div>
</div>

<div id="column3" style="float:left; margin:0;width:33%;">
	<div id="registerButton">
<h:commandLink id="registerlink" update="voloGrid" action="#{creaViaggio.addIstanzaTmp6()}">
<div class="button" id="register">
Ricerca Voli
</div>
</h:commandLink>
</div>

				</div>
				</div>
				</div>
    </h:form>	
        
    
	   	</div>
</div>
<div id="push">
</div>
</div>
<div id="footer">
<h:button id="homepage" value="Homepage" outcome="index.xhtml"></h:button>
</div>

</h:body>
    
</html>